package com.qut.graduate.busrtquery.bean;

import com.baidu.mapapi.model.LatLng;

public class RouteStep {
    private LatLng nodeLocation;
    private String nodeTitle;
    private int direction;

    public RouteStep() {
    }

    public RouteStep(LatLng nodeLocation, String nodeTitle, int diretion) {
        this.nodeLocation = nodeLocation;
        this.nodeTitle = nodeTitle;
        this.direction = diretion;
    }

    @Override
    public String toString() {
        return "RouteStep{" +
                "nodeLocation=" + nodeLocation +
                ", nodeTitle='" + nodeTitle + '\'' +
                ", direction=" + direction +
                '}' + "\n";
    }

    public void setNodeLocation(LatLng nodeLocation) {
        this.nodeLocation = nodeLocation;
    }

    public void setNodeTitle(String nodeTitle) {
        this.nodeTitle = nodeTitle;
    }

    public LatLng getNodeLocation() {
        return nodeLocation;
    }

    public String getNodeTitle() {
        return nodeTitle;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int diretion) {
        this.direction = diretion;
    }

}
